<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>欢迎页面-X-admin2.0</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <link rel="stylesheet" th:href="@{/css/font.css}">
    <link rel="stylesheet" th:href="@{/css/xadmin.css}">
    <script th:src="@{/webjars/jquery/3.5.1/jquery.min.js}"></script>
    <script type="text/javascript" th:src="@{/lib/layui/layui.js}" charset="utf-8"></script>
    <script type="text/javascript" th:src="@{/js/xadmin.js}"></script>
</head>

<body>
<div class="x-body">
    <div id="waresMessage" th:each="wares:${ADMIN_BILL_WARES_MESSAGE}">
        <form class="layui-form">
            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>商品码
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="no" name="no" th:value="${wares.no}" lay-verify="required" readonly="readonly"
                           autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux">
                    你购物的商品码
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>商品名
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="name" name="name" lay-verify="password" th:value="${wares.getName()}"
                           autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux">
                    你购物的商品名
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>购物数量
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="number" name="number" lay-verify="required" th:value="${wares.getNumber()}"
                           autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux">
                    你购物的商品数量
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>单价
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="wares_in" name="wares_in" lay-verify="required" th:value="${wares.getRetailPrice()}"
                           autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux">
                    你购物的商品单价
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>共花费
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="wares_out" name="wares_out" lay-verify="required" th:value="${wares.getTradePrice()}"
                           autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux">
                    你总共花费的价格
                </div>
            </div>

            <div class="layui-form-item">
                <label  class="layui-form-label">
                    <span class="x-red">*</span>总积分
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="points" name="points" lay-verify="required" th:value="${wares.getPoints()}"
                           autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux">
                    这件商品你获得的积分
                </div>
            </div>

            <hr class="layui-bg-red">
        </form>
    </div>

</div>

</body>

</html>